import requests
# 员工修改
resp_emp_update=requests.put(url="http://ihrm2-test.itheima.net/api/sys/user/1573137655682576384",headers={"Content-Type":"application/json",
                "Authorization":"Bearer c242483d-7fc6-47f6-9f4a-635c5375c6e3"},json={"username":"狗哥666"})
print(resp_emp_update.json())


#员工删除
resp_emp_delete=requests.delete(url="http://ihrm2-test.itheima.net/api/sys/user/1573137655682576384",headers={"Content-Type":"application/json",
                "Authorization":"Bearer c242483d-7fc6-47f6-9f4a-635c5375c6e3"})
print(resp_emp_delete.json())

